QT       += core gui xml

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
include($$PWD/../common.pri)
include($$PWD/../function.pri)
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

TARGET = daWork
#生成到bin下
$$commonProAppSet($${TARGET})

include($$PWD/Mime/Mime.pri)
include($$PWD/Commands/Commands.pri)
include($$PWD/Models/Models.pri)
include($$PWD/Dialog/Dialog.pri)

include($${DA_SRC_DIR}/python_lib.pri) # 引入python环境
include($${DA_SRC_DIR}/3rdparty/use3rdparty_pybind11.pri) # 引入pybind11
include($${DA_SRC_DIR}/3rdparty/use3rdparty_SARibbon.pri)
include($${DA_SRC_DIR}/3rdparty/use3rdparty_QtAdvancedDockingSystem.pri)
# python  相关
include($${DA_SRC_DIR}/DAPyBindQt/DAPyBindQt.pri)
include($${DA_SRC_DIR}/DAPyScripts/DAPyScripts.pri)
include($${DA_SRC_DIR}/DAData/DAData.pri)
include($${DA_SRC_DIR}/DAMessageHandler/DAMessageHandler.pri)
include($${DA_SRC_DIR}/DAPluginSupport/DAPluginSupport.pri)
include($${DA_SRC_DIR}/DAGraphicsView/DAGraphicsView.pri)
include($${DA_SRC_DIR}/DAWorkFlow/DAWorkFlow.pri)
include($${DA_SRC_DIR}/DAInterface/DAInterface.pri)
include($${DA_SRC_DIR}/DAPyCommonWidgets/DAPyCommonWidgets.pri)
include($${DA_SRC_DIR}/DACommonWidgets/DACommonWidgets.pri)
SOURCES += \
    AppMainWindow.cpp \
    DAAppCommand.cpp \
    DAAppCore.cpp \
    DAAppDataManager.cpp \
    DAAppDockingArea.cpp \
    DAAppRibbonArea.cpp \
    DAAppUI.cpp \
    DAChartListView.cpp \
    DAChartManageWidget.cpp \
    DAChartOperateWidget.cpp \
    DADataListView.cpp \
    DADataManageTableView.cpp \
    DADataManageTreeView.cpp \
    DADataManageWidget.cpp \
    DADataOperateOfDataFrameWidget.cpp \
    DADataOperateWidget.cpp \
    DAGuideTabWidget.cpp \
    DAMessageLogViewWidget.cpp \
    DASettingContainerWidget.cpp \
    DAWaitCursorScoped.cpp \
    DAWorkFlowGraphicsScene.cpp \
    DAWorkFlowGraphicsView.cpp \
    DAWorkFlowNodeItemSettingWidget.cpp \
    DAWorkFlowNodeListWidget.cpp \
    DAWorkFlowOperateWidget.cpp \
    DAWorkFlowPluginManager.cpp \
    DADataWorkFlow.cpp \
    DANodeListWidget.cpp \
    DAPluginManagerDialog.cpp \
    DAProject.cpp \
    DAToolBox.cpp \
    main.cpp

HEADERS += \
    AppMainWindow.h \
    DAAppCommand.h \
    DAAppCore.h \
    DAAppDataManager.h \
    DAAppDockingArea.h \
    DAAppRibbonArea.h \
    DAAppUI.h \
    DAChartListView.h \
    DAChartManageWidget.h \
    DAChartOperateWidget.h \
    DADataListView.h \
    DADataManageTableView.h \
    DADataManageTreeView.h \
    DADataManageWidget.h \
    DADataOperateOfDataFrameWidget.h \
    DADataOperateWidget.h \
    DAGuideTabWidget.h \
    DAMessageLogViewWidget.h \
    DASettingContainerWidget.h \
    DAWaitCursorScoped.h \
    DAWorkFlowGraphicsScene.h \
    DAWorkFlowGraphicsView.h \
    DAWorkFlowNodeItemSettingWidget.h \
    DAWorkFlowNodeListWidget.h \
    DAWorkFlowOperateWidget.h \
    DAWorkFlowPluginManager.h \
    DADataWorkFlow.h \
    DANodeListWidget.h \
    DAPluginManagerDialog.h \
    DAProject.h \
    DAToolBox.h

FORMS += \
    AppMainWindow.ui \
    DAChartManageWidget.ui \
    DAChartOperateWidget.ui \
    DADataManageWidget.ui \
    DADataOperateOfDataFrameWidget.ui \
    DADataOperateWidget.ui \
    DAMessageLogViewWidget.ui \
    DAPluginManagerDialog.ui \
    DASettingContainerWidget.ui \
    DAWorkFlowNodeItemSettingWidget.ui \
    DAWorkFlowNodeListWidget.ui \
    DAWorkFlowOperateWidget.ui


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


OTHER_FILES += ../../next-do.md \
../../readme.md


RESOURCES += \
    icon.qrc
